package com.itheima.service.impl;

import com.itheima.service.UserService;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    public int save(int i) {
        System.out.println("userService 执行了"+i);
        return 100;
//        int i=1/0;
    }

    public int update() {
        return 100;
    }

    public void delete() {
        System.out.println("delete运行了");
        int i=1/0;
    }
}
